<template>
  <!-- <n-config-provider> -->
  <router-view></router-view>
  <!-- </n-config-provider> -->
</template>
<script setup>
  import { onMounted } from "vue";
  import { useStore } from "vuex";

  const $store = useStore();

// const getScreen = () => {
//   let clientWidth = document.body.clientWidth;

//   if (clientWidth < 768) {
//     $store.commit("setMobile", true);
//   } else {
//     $store.commit("setMobile", false);
//   }
// };

// onMounted(() => {
//   getScreen();
//   window.addEventListener("resize", (e) => {
//     getScreen();
//   });
// });
</script>
<style>
  @import "@/assets/common.scss";
  html,
  body {
    font-size: 14px;
  }

  .pageMain {
    padding: 10px 20px;
  }
</style>